<?class addr extends base{
  
  function __construct()
  {
    parent::__construct();
    $this->m = load('m/user');
    $this->submenu = array('excel'=> '导出Excel','vCard'=>'导出vCard');
  }
  
  function index()
  {
    $tot = $this->m->count();
    $psize = 30;
    $param['pagination'] = pagination($tot , seg(3) , $psize ,'/user/index/');
    $param['records'] = $this->m->get("", seg(3), $psize);
    $this->display('user/list-table-addr',$param);
  }
  
}
